home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Python 1.3.3
/
stdwin
/
H
/
vtserial.h
< prev
next >
Wrap
Text File
|
1995-12-21
|
532b
|
16 lines
/* Definitions for serial interface */
/* Public interface to the serial line drivers (which have a
machine-dependent implementation but a common interface) */
bool openserial _ARGS((void));
bool closeserial _ARGS((void));
bool sendserial _ARGS((char *buf, int len)); /* Blocking write */
int receiveserial _ARGS((char *buf, int len)); /* Non-blocking read */
bool breakserial _ARGS((void));
bool speedserial _ARGS((int baudrate));
/* Pseudo event reported when input from serial line available */
#define WE_SERIAL_AVAIL 42